cmake_minimum_required(VERSION 3.5.0)

project(stb_project)

set(CMAKE_CXX_STANDARD 17)

file(GLOB stb_src stb/*.c)
add_library(stb ${stb_src})

file(GLOB header_src stb/*.h)


if(WIN32)
# Install header files
install(DIRECTORY  stb DESTINATION /usr/local/include/)

# Optionally, you can also include configuration files, documentation, etc.
# For example, install README.md to the root of the install directory
install(TARGETS stb DESTINATION /usr/local/lib)
endif()